package de.seminar.lego3D.fragments;

import android.app.Fragment;

/**
 * Interface for the fragments on the right side, which are showing the detailed information.
 * All fragments has to implement this fragment. This is necessary to prevent type mismatches while opening different fragments.
 * @author Christian Lander
 *
 */
public class DetailsFragment extends Fragment {

	/**
	 * Returns the index of the current shown fragment.
	 * @return
	 */
	public int getShownIndex() {
        return getArguments().getInt("index", 0);
    }
}
